package com.china08.yxyapi.repository.db.attendance;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.china08.yxyapi.entity.db.attendance.YxyYxyTecAttendanceConfig;

/**
 * 考勤 数据表操作
 *
 */
public interface YxyTecAttendanceConfigRepository extends JpaRepository<YxyYxyTecAttendanceConfig, String> {

    @Query(value = "select schoolId from YxyYxyTecAttendanceConfig where status=1 ")
    List<String> findSchoolIdAll();

    YxyYxyTecAttendanceConfig findBySchoolId(String schoolId);

}
